import 'package:flustars/flustars.dart';
import 'package:flutter/material.dart';


class UserInfo with ChangeNotifier{
  Map userInfo;
  bool isLogin = SpUtil.getObject("userInfo") != null ? true : false;

  setUserInfo(){
    userInfo = SpUtil.getObject("userInfo");
    isLogin = userInfo != null ? true : false;
    notifyListeners();
  }
}